﻿@{
    ViewBag.Title = "Sistema de Gestión de Partidas Presupuestarias";
}

<a href="@Url.Action("Index", "Home")">
    <img src="~/Images/Titulo3.png" style="position:absolute; left:380px;top:130px;width:650px;height:50px" \>
</a>
<br /><br /><pre></pre>

<a class="btn btn-default" href="@Url.Action("Index", "CentroCosto")"><img src="~/Images/centro.png" \><h3></h3></a>
<a class="btn btn-default" href="@Url.Action("Index", "FuenteFinanciera")"><img src="~/Images/fuente.png" \><h3></h3></a>
<a class="btn btn-default" href="@Url.Action("Index", "Partida")"><img src="~/Images/consultar.png" \><h3></h3></a>
<a class="btn btn-default" href="@Url.Action("CambiarPresupuesto", "FuenteFinanciera")"><img src="~/Images/exchange.png" \><h3></h3></a>
<a class="btn btn-default" href="@Url.Action("AsignarPartidaAFuente", "FuenteFinanciera")"><img src="~/Images/assigned.png" \><h3></h3></a>
<a class="btn btn-default" href="@Url.Action("ReducirPresupuesto", "FuenteFinanciera")"><img src="~/Images/fuente.png" \><h3></h3></a>
<a class="btn btn-default" href="@Url.Action("Index", "Reporte")"><img src="~/Images/reporte.png" \><h3></h3></a>
<a class="btn btn-default" href="@Url.Action("RoleAddToUser", "Rol")"><img src="~/Images/security.png" \><h3></h3></a>

@*@if (Request.IsAuthenticated && HttpContext.Current.User.IsInRole("ADMINISTRADOR"))
                        {   
                            <li>@Html.ActionLink("Consultar Partidas Presupuestarias", "Index", "Partida")</li>
                            <li>@Html.ActionLink("Cambio de Presupuesto", "About", "Home")</li>
                            <li>@Html.ActionLink("Asignar Partidas a Areas", "Contact", "Home")</li>
                            <li>@Html.ActionLink("Reportes", "Reportes", "Home")</li>
                        }
                        @if (Request.IsAuthenticated && HttpContext.Current.User.IsInRole("GERENTE"))
                        {
                            <li>@Html.ActionLink("Consultar Partidas Presupuestarias", "Index", "Partida")</li>
                            <li>@Html.ActionLink("Reportes", "Reportes", "Home")</li>
                        }
                        @if (Request.IsAuthenticated && HttpContext.Current.User.IsInRole("COMITE"))
                        {
                            <li>@Html.ActionLink("Cambio de Presupuesto", "About", "Home")</li>
                            <li>@Html.ActionLink("Asignar Partidas a Areas", "Contact", "Home")</li>
                        }
                        @if (Request.IsAuthenticated && HttpContext.Current.User.IsInRole("USUARIO"))
                        {
                            <li>@Html.ActionLink("Consultar Partidas Presupuestarias", "Index", "Partida")</li>
                            <li>@Html.ActionLink("Reportes", "Reportes", "Home")</li>
                        }*@